<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>红蓝对抗事理图谱</title>
    <link rel="stylesheet" href="./static/bootstrap-4.3.1.min.css">
    <link rel="stylesheet" href="./static/toastr-2.1.4.min.css">
    <link rel="stylesheet" href="./static/common.css">
    <link rel="stylesheet" href="./static/iframe.css">
    <style>
    </style>
</head>

<body>

    <!-- 页面主体 -->
    <div class="page-margin body">
        <!-- 搜索栏 -->
        <div class="search-box">
            <form class="form-inline search-form">
                <input id="search-text" class="form-control" autocomplete="off" type="search" placeholder="请输入一个事件">
                <button id="search-btn" class="btn btn-info" type="submit">搜索</button>
                <div class="margin"></div>
                <p class="p_checkbox" id="p_checkbox1">抽象因果关系</p><input type="checkbox" class="switch" id="cause-effect"
                    onchange="ace()" name="checkbox-ce" checked="">
                <p class="p_checkbox">事件泛化</p><input type="checkbox" class="switch" id="concrete-to-abstract"
                    onchange="cta()" name="checkbox-ce" checked="">
                <!--<p class="p_checkbox">上下位关系</p><input type="checkbox" class="switch" id="hy-per" onchange="up_down()" name="checkbox-ce" checked >-->
            </form>

            <div style="padding-top: 8px; padding-left: 2px; font-size: 14px;">
                <span>推荐搜索：</span>
                <!-- 面向军事辅助决策的事件知识图谱构建_李佳蔚-P47 -->
                <a class="recommend-search" href="/main#">联合登岛作战&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">作战事理图谱&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">任务威胁图谱&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">军事行动轨迹图谱&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">边境巡逻军事行动轨迹图谱&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">特种作战突袭军事行动轨迹图谱&nbsp;&nbsp;</a>
                <a class="recommend-search" href="/main#">防空作战军事行动轨迹图谱&nbsp;&nbsp;</a>
            </div>
        </div>

        <div style="position: relative;">
            <!-- 图谱主体 -->
            <div id="main"
                style="-webkit-tap-highlight-color: transparent; user-select: none; position: relative; background: transparent;"
                _echarts_instance_="ec_1723684556157">
                <div
                    style="position: relative; overflow: hidden; width: 1141px; height: 678px; padding: 0px; margin: 0px; border-width: 0px; cursor: default;">
                    <canvas width="1426" height="847" data-zr-dom-id="zr_0"
                        style="position: absolute; left: 0px; top: 0px; width: 1141px; height: 678px; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); padding: 0px; margin: 0px; border-width: 0px;">
                    </canvas>
                </div>
                <div style="
                        position: absolute;
                        display: none;
                        border: solid 1px rgb(51, 51, 51);
                        background-color: rgba(50, 50, 50, 0.7);
                        border-radius: 4px;
                        color: #ffffff;
                        font: 14px / 21px 'Microsoft YaHei', sans-serif;
                        padding: 5px;
                        white-space: nowrap;
                        z-index: 9999999;
                        transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1);
                        left: 468px;
                        top: 283px;
                    ">
                    <span style="color:#B99C9E;">●</span> 无法停车
                </div>

            </div>

            <!-- 因果信息 -->
            <div id="causal-info" class="causal-info">
                <div class="header first">原因</div>
                <div class="content" style="height: 32px;">
                    <span class="cause" id="cause"></span>
                </div>
                <div class="header">结果</div>
                <div class="content" style="height: 32px;">
                    <span class="effect" id="effect"></span>
                </div>
                <div class="header">组成关系</div>
                <div class="content" style="height: 62px;">
                    <span class="effect" id="composition">组成关系内容</span>
                </div>
                <div class="header">并发关系</div>
                <div class="content" style="height: 62px;">
                    <span class="effect" id="concurrent">并发关系内容</span>
                </div>
                <div class="header">条件关系</div>
                <div class="content" style="height: 62px;">
                    <span class="effect" id="condition">并发关系内容</span>
                </div>
                <div class="header">上下文</div>
                <div class="content last" id="context" style="height: 240px;">
                </div>
            </div>
            <div id="legend-overlay">
                <span
                    style="display:inline-block;width:30px;height:1.5px;background-color:#4990E2;vertical-align:middle;"></span>
                <a class="legend">抽象因果关系</a><br>
                <span
                    style="display:inline-block;width:30px;height:1.5px;background-color:#C0C1C2;vertical-align:middle;"></span>
                <a class="legend">事件泛化</a><br>
            </div>
        </div>
    </div>

    <script src="./static/jquery-3.3.1.min.js"></script>
    <script src="./static/bootstrap-4.3.1.min.js"></script>
    <script src="./static/echarts-3.7.2.min.js"></script>
    <script src="./static/toastr-2.1.4.min.js"></script>
    <script src="./static/abstract.js"></script>
    <script>
        // 检测页面是否在 iframe 中
        if (window.top !== window.self) {
            document.body.classList.add('scaled');
        }
    </script>
</body>

</html>